pub fn dp_rec_mc(amount: u32) -> u32 {
    let mut n = amount;
    let mut r = 0;
    for d in [100, 50, 30, 20, 10, 5, 2, 1] {
        r += n / d;
        n %= d;
    }
    r
}
